Restore vendor/loader.js - still needed for tests

[Fixes #3]
Add to Travis
Allow store's source to be overridden
Add support for default values