Support XDG_CONFIG_HOME and fallback to dotfile

Also using node's path API for more reliable path joining
Update config file error message
Merge pull request #4 from spaghetti2514/master

Support XDG_CONFIG_HOME fixes #3