Fixed update_database for new Migrations versioning scheme
updated to support changes in controller for new migration naming scheme
change the way we look for available migrations
add a new way to look for available migrations
change the way we look for available migrations
Moved plugin to lib
Moved init to config dir with adding 01_ as prefix to ensure order
Added connection default params like unicode and pool-size
move some counter query from controller to model articles

refactoring some scopes in article
Merge pull request #148 from xenji/feature/pg-additions

Added connection default params like unicode and pool-size
Put back lambda as it seems to be a best pratice.
Fix typo in word creation

Change-Id: I9d0df930a937a1109b76cd9836a058f54a9f36fe
Fixed typo Mmake to Make

Change-Id: I95fe72c1ad65fd1e16b4ec82ddb40b7a19771911
Merge pull request #153 from velobuff/master

Fixed typographic error
Add background highlight to currently active theme in admin

Instead of a small bit of italic text, mark out the current theme
in use with an alert DIV. Clearer, quick to see if you have many
themes to choose from.

Tidy up the if-else block uses as the contents are mostly different
between inactive choices and the active one.

"Use this theme" sounded more direct and action packed than
"Choose this theme" for the button.

Cleans up language file definitions orphaned by removal of
references to Typogarden and installing themes in
commit 82c73cd62c3fc616cb44660d9ac6b4dfbe53ddb9
Merge branch 'master' into fix-migrations

Conflicts:
	app/controllers/admin/settings_controller.rb
	app/views/admin/settings/update_database.html.erb
Fix indentation
Add i18n
Simplify action and fix view
Centralize migration logic in a single service class