New version
Fixes a critical bug when opening the SelectFile dialog and a mime-type of a file is null.
Change way how rights are saved. It uses subdocuments with booleans, instead of an integer. Bitwise operators in MongoDb are not extensive and need JS (which slows it down). The communication between client and server still uses the integer versions.
Adds a search index and a search resources. The engine is rather simple. It does use weighted keywords, based on weights given to specific fields. When searching, the part of the keywords are considered as first part of a word. /^[keyword]/
Added search support to existing resources.
Merge branch 'feature-search' into feature-acl, and updated the access_control and the test to the new hashed rights (instead of integer)

* feature-search:
  Added search support to existing resources.
  Adds a search index and a search resources. The engine is rather simple. It does use weighted keywords, based on weights given to specific fields. When searching, the part of the keywords are considered as first part of a word. /^[keyword]/
  Change way how rights are saved. It uses subdocuments with booleans, instead of an integer. Bitwise operators in MongoDb are not extensive and need JS (which slows it down). The communication between client and server still uses the integer versions.
  Fixes a critical bug when opening the SelectFile dialog and a mime-type of a file is null.
  New version