Refactors search to play nice with hvad and the other apps.
Adds docs and cleanup.
version bump to 0.1.3