first step in upgrading to rails4
slience deprecation warnings
silence replication warnings
add secret_key_base and fixed error in has many ordering
mostly green except for a delete test