dirty: Add an 'only dirty' flag and a 'suppress extra newline' flag.
Makefile: Add shared location.
Remove `rep`.
Add `common.sh`.

This adds a set of common functions.

The following scripts have been modified to use `common.sh`.
- arp-ips
- qnmap
- sec-check
pdf: Use eval.
dirty: Split a line.