Refactors api modules to enable use of app configs
Restores long callback notation  in routes to preserve object scope
Fixes access to undefined properties
Removing minor var abstraction - maybe makes code easier to follow
- but really, the previous commit didn't seem to take my change, so this is another attempt at it
Merge pull request #48 from desmondmorris/move-configs

Refactors api modules to enable use of app configs