RapidFTR (Sumit/Nazneen) Removing the dead code.
Merge remote-tracking branch 'upstream/master' into profile_thumbnails
Merge pull request #327 from farismosman/master

[#1466] Rotate buttons on edit photo works only on 2 clicks
Akash - removing more dead code
Merge branch 'master' of https://github.com/rapidftr/RapidFTR
Faris [# 1506]
- Changed the regex in to_lucene_query in search_criteria to be case-insensitive. The same was done in method build_joins.
- Defect is fixed, search can be done using OR/or.