Support configurable Forem.base_path

For example, in the case where I mount under my engine instead of the main application
the previous code wasn't working and I had to use:

Forem.base_path = MyExtension::Engine.routes.named_routes[:forem].path