changed text queries to match queries, text removed in ES 1.0. Added exception around set_mapping and index creation
Merge branch 'master' of github.com:nbs-system/naxsi