#192: added #allowed action to Platform API
#192: misprint
#192: added specs for Platforms API
#192: updated controller and specs of Platform API
#192: added new specs, some refactoring of controller