Updated how baseUrl functions.

- This is a breaking change.
- It now respects relative URL's when using baseUrl.
- Absolute urls without domain will now be considered relative according to baseUrl (for base folders).
- Added tests for baseUrl.
Null is now an accepted json value.