Ignore/discard all local changes before pulling updates

The local master is now reset to the origin master before attempting to pull changes. This solves issues when "history has been rewritten" in public repositories.

Closes #91