Updates the application to Rails4 and Ruby2