Append current location hash to login redirect URLs

Fixes #17
Simplified code
Simplified code, use `get_for_path()`
Retrieve common export view context in a reusable way
Implemented export view in cross-project and cross-language searches

Depending on the load/behavior we observe, we might want to consider
caching some views.

Fixes #9
Cleanup: removed unused import