Refactored rake task into a class

 - Added dumper class and moved all the logic into that class.
 - fixtures_path method is not present in Rails 3 and requires Active
   Record's 'config_load' task to be run. So removed using it in
   fixtures_path method.
Good catch :). The ENV variable name in rake task is also wrong. Fixing it.