added rails 4 + heroku compatibility

bin directory added