Refactor tup rules

The `.gitignore` rule should be included in all Tupfiles.
Add docopt