Moved many updates to modules and rebuilt SDK

I've been committing to usergrid.js. Moved all those changes to /lib/modules so the SDK will build properly.