Allow for mounting as an engine

Sort URL generation should be irrespective of the app/engine url_helpers to allow for mounting as an engine- #url_to replaced with #resource_path

fixes #5, fixes #8, fixes #13