add options_for_select

add method `options_for_select` from Rails.
add rails callbak methods
change abbreviation to c for controller
respect the  convention
use m as prefix and fix conflicts with other snippets
Merge pull request #320 from wongyouth/add_rails_methods

Add rails callback methods