Fixed: file without json extension as config

#486

I've extracted part from #487 with non-json extension of config file and added tests. Now it is possible to `eslint -c .eslintrc file.js`