used helper function for layouts throughout
added /global route and test back in
added tests for hashed features. added a default path for anything /layouts/*