Add untested filecheck for the index.
Add index_file_check functionally.
Add documentation to explain returns of index_file_check.
Merge branch 'index'

Conflicts:
	Makefile
Merge branch 'master' of github.com:kevinwang/troll