fixed evaluating index 0 as false
fixed calling pendingMigrations (was getPendingMigrations)
added missing import method
updated console method
no longer forces development environment when running from CLI
added support to db:create
Rails\Console\Console now uses Zend\Console