Added FogBugz api wrapper and core javascript