Changed the BixoPlatform constructors to take an application jar class parameter.

Previously we always set the application class for the BasePlatform to
be BixoPlatform.class which could result in random errors.