Simpler function name
Avoid some weird circular dependency issues
Support contexts other than translation projects
Name URL patterns for further reuse
Point to the proper URL
Do nothing if no code has been passed
Refactored parts of the search widget for further reuse
Detect pootle paths that are not from translation projects
Wiped out indexing support
Simplified function names
Provide a context object

A context object can either be a high-level project, language or
translation project or a directory or a store if the current view is
drilling down in the file/dir browser.
Reuse existing code
Fixed search form action URL

This didn't generate proper URLs when the user was in a context of the
file/dir browser.
Simplified code, handle the situation with no args
Added support for all sorts of directories
Added convenience `get_translate_url` methods
Use `get_path_obj`
Added manager method to retrieve units below a given path

Works for any `pootle_path` and does permission checking for the user
attached to the given `profile`.
Use `get_for_path` to support arbitrary paths
No need to retrieve a `path_obj` that won't be used