STY: correct indentation in template
BUG: use default content type field name of search element

Whoosh is unable to use custom content type field name. Thus the default name `content_type` is thus used.

Note: Xapian is able to find custom field name. But not Whoosh.

Bug environment

django-haystack==1.2.7
Whoosh==2.4.1
BUG: redirect if search endpoint does not have query field

When a endpoint `/search` is requested, it shows a 500 as there is no `q` field provided

if `/search` endpoint does not have `q` field, silently return to front page
BUG: correct search pagination endpoint

1. add `q` (query) field in search paginator endpoint
2. add reverse URL template tag for paginator endpoint

The URL from paginator does not work otherwise!
Merge pull request #181 from ksurya/search

Fix Search Errors