Non root directory config

A few more fixes based on feedback in https://github.com/bolt/bolt/issues/1223

This is primarily to reset the ckPath in cases where there is a non-root base directory and also if there is an overriden branding path.

Test cases added to to verify expected urls in these instances.