Changed 'platform' from a parameter dict key/value pair (which could never be stored in the database) to an optional argument to all of the myriad constructors.
Lots of bugfixes all over for platform handling.