Issue #1556 - Fix meta_title is undefined

Closes #1556 and #1530

This should also fix meta_description in #1530 as well as the other bug that is not
filed for body_class
Fix failing casper tests

no issue
- spam test: changed waitForSelector to waitForText
- feature test: changed waitForRessource to watiForSelector
Merge pull request #1559 from sebgie/failing-tests

Fix failing casper tests
Merge pull request #1557 from alicoding/issue1556

Issue #1556 - Fix meta_title is undefined
Create the config module, initially used
to standardise getting paths and absolute URLs.  Easy
to extend for other configurations we may need.