Move platforms out of tests directory

As well as moving the default location of the platforms, this change cleans up
some platform related code and adds a --platform-dir option so you can specify
where to find your platform.

This change preserves compatibility with existing automation that copies
platform modules into the tests directory by also searching that directory.
4 files changed