Do not show 'uploaded' if an error occured
Show an appropriate error when the API throttles the client

We also immediately exit with error code 420 (same as the http error)
since, if we get throttled, further requests will be blocked anyway.
Output the version number in the usage message
Switch to getopt for option parsing
Implement --open to open uploaded files/albums in default browser

Fixes #1
Improve command line documentation
Implement --version

Fixes #3
Implement --dry-run option, calculating the hashes locally
Do not create albums in --dry-run
Release 1.1
Update man page
Write Makefile
Update README
Bump version to 1.1.1
Add basic support for prefixes in makefile
DESTDIR in Makefile
Set default DESTDIR to /usr
Update my email in the manpage
Avoid external dependencies

Little fix to avoid external (non-coreutils) dependencies like vim (for xxd) and sed.
+ Little optimisation
+ Little fix (originally sed calls missed "/g")
Merge pull request #7 from msva/patch-2

Avoid external dependencies