Make canvas an optional dependency

This simple change makes `canvas` an optional dependency, so that imagediff can be insalled via npm for browser based projects (including using it with browserify). This will solve #22.