Adds URL back into theme config

fixes #1749

- pass config().url into theme.update
- rename paths functions to match theme functions
- adds tests for theme config
- We should probably try to eliminate passing config.url around