Update to Rails 4 and use an API for the airserver daemon