Add with-write-permissions macro and use it in leiningen.jar/jar to check for correct permissions
Merge pull request #1747 from technomancy/check-for-permissions-in-lein-jar-1724

Ensure proper access rights in `lein jar`
Merge remote-tracking branch 'upstream/master'