Added new scanning feature.

Now I can scan remotely and have the image automatically saved to my
local folder.
Added automatic nonconflicting filename resolution

New function will automatically find a nonconflicting filename by
incrementing numbers until we find one that's not used by anybody else.