Separated control dir and config dir

control dir is /tmp/sansgrid
config dir is currently $HOME/.sansgrid
	later it will also try /etc/sansgrid
Fixed an infinite loop in router device drop code
Fixed a copying bug for dropping a device
Added an IPv6 parser to router
Improved IPv6 parsing

It actually works pretty well now, and it displays well too
Redesigned heartbeat part of routing table
Moved authentication into its own structure
Fixed transient problem with my testing system

Involved paths where no packets were sent
Made testing system less noisy in the logs

Later I'll add command-line options for controlling this. For now only
errors will be logged

I also want to figure out a better way to control verbosity in print
statements. I have a lot of ugly #defines all over my code right now
for controlling this at compile-time, and I'd like to be able to change
verbosity without recompiling my test suite every time
router: Added better integration with auth
Added getopt to sgtest
Fixed some auth stuff
Merge branch 'testing'