Introducing a mapsengine api wrapper

Porting the Google Maps Engine api from the Google APIs client for Node.JS across to gapi.js in the browser.
use setTimeout consistently. it's different to the one above, but functionally the same. 

you can simplify the if statement to processingStatus == 'complete || processingStatus == 'processing'