Merge pull request #47 from espadrine/master

text/plain files have type text.
[gateway] make search blazing fast
[meta] fix malformed "text" mime type