Support for Bash on Windows #76

See #76

Tests in build.sh whether we are on Windows (e.g. in git bash), and if so use .Net instead of Mono. Otherwise use mono as before.

Tested on Windows and Ubuntu 14.04.

Also fixes a minor comment typo in build.template.