upgrade to rails 4

also some amendments to specs to make them work
force #to_s when parameterizing Section