Updating syntax for gemspec, adding database_handler.
Fixing some issues I made in trying to get rubymine to work.