changed javascript to ignore blur if buttons are active, added button classes
Merge branch 'rails-4' of github.com:chrise86/best_in_place into rails-4