Reduce magical code for squeezed url

Add method to obtain non-squeezed URL from request path.
add spec: ApplicationController#url_from_path
Merge pull request #63 from mzp/magical_code_for_squeezed_url

Reduce magical code for squeezed url