Temp fix to get Rails4 to work

Not the prettiest thing, but does the trick.  Basically, setting an environment variable RAILS4 to true will activate some work arounds the protected attributes specific code here.  Use if you want, or make a more elegant solution, you won't hurt my feelings.  Fix for #29