GUI-1213: Remove unused pageResource param in InstanceTypes controller.  Misc PEP8 and JS cleanup.