Adding filter for git specific files

Change-Id: Ieecabcae439b9e08166bb416bd77789fb9dda3e5
Adding conditional compilation option to disable the ranking database.

Change-Id: I81371ca13710c687dc0ed48e5f8d0cc99ccb7b00
Merge branch 'krzsas-master'