Implementation of search index generation

Solves https://github.com/tomchristie/mkdocs/issues/1

Note, only generation of search index (Tipue style). No theme views have been implemented.