Added SECRET_KEY_BASE environment variable to support rails4
Added ruby-2.0 test cases