Refactored some code
Support default config file name change in Elasticonf
Add tests against Rails3.1