Added ability to store password in .netrc file
and fixed if.
Closing DEV-17 #resolved #fixed
Version bump to 0.2.2
Merging development branch