make separate config.js for secrets / local config options
get sendpush methods to return deferred objects
Merge pull request #1 from batpad/master

Make configs separate and return a deferred object