Refactors to base objects (util functions) & Build Adapter!

AWWWWW YISSSSS

`adapter::publish()` has been renamed to `adapter::publishPayload()` though, so there's that...
**Also, JSCS & JSHINT updated for new app structure**
Maybe do an array merge of reqBaseVcsParams and reqChangeVcsParams and then validate only once?