Provide new 'cwd' option during deploy

Hey @andrewrk this fixes issue #25. I added a test for it and I also tested manually. Let me know if you think I need cleanup the tests or add new tests before merging. I can also revert the version bump.