add uninstall :rmdir

per discussion at https://github.com/caskroom/homebrew-cask/pull/6174#discussion-diff-17516171
refs: #6174

This PR is large because of some test-suite refactoring.
Merge pull request #6192 from rolandwalker/add_uninstall_rmdir

add uninstall :rmdir