fixed bug in some php environments

"(function () { 
  jQuery('.switch')['bootstrapSwitch'](); 
})();"

breaks in some php environments the swiches, because don't set the class "has-switch"

The following code fixes the bug:

"(function($) {  // creates scope for $ sign assigned to jQuery
    $(function () { // on dom ready
        $('.switch')['bootstrapSwitch'](); // attach bootstrapswitch
    });
})(jQuery);"

( https://github.com/nostalgiaz/bootstrap-switch/issues/75#issuecomment-20727665 )
Fix for using with Rails

Change .find('input') to .find('input[type!="hidden"]')

https://github.com/nostalgiaz/bootstrap-switch/issues/88
Update README.md

Change "You can now also use radio buttons as switches." to "You can now also use radio buttons and checkboxes as switches."
Merge pull request #11 from nostalgiaz/master

Update, inklusive Fixe