moved common methods into CommonFields lib
fixed dashboard errors
rails 4 upgrade