Moved bundler methods to library_helpers

Also fixed for using hairballs as a gem with rails
Renamed Plugin#when_used to on_load