Looser deps

You may want to pull this in if you wish.

If you try to unbind, when there is nothing in buffer, the daemon would crash, it shouldnt. Fixed that.

Also made the app work with looser dependencies to make it work on Rails 3.2.