Add CoreMotion API and fix alloy2jsca script
Merge pull request #38 from bhatfield/master

Add CoreMotion API and fix alloy2jsca script