Refactor

Add some TODOs to integrate with RubyMine.
Change Gemfile so that sqlite3 is not included for more one time.
Add a route to generate_privilege and begin to generate relevant
controller and view.
Bug fix

Fix a little bug
Change .gitignore

/.idea is now ignored