added Rails 4 support
fixed sqlite3 detection for Rails 4
fixed assets compilation on Rails 4
extracted Procfile handling