fix tests
Add a few small consistency tweaks in hack
Refactor the handling of static-related build flags

This is as discussed with @shykes on IRC
Rename all cases of "docker-init" to "dockerinit" for consistency
Add dynbinary and dyntest scripts for building/testing a separate static dockerinit binary

After a nice long brainstorming session with @shykes on IRC, we decided on using a SHA1 hash of dockerinit compiled into the dynamic docker binary to ensure that we always use the two in a perfect pair, and never mix and match.
Close connection in Get method
Use persistent connection for links database

Add close method to Runtime and Server to make sure
that any underlying connections are cleaned up
Hack: fix test and dyntest to correctly use $TESTFLAGS
Add missing else when checking for linkgraph.db
Move name parsing logic to GetByName method
update docker port command
Fix "go test -i" to include the proper LDFLAGS and BUILDFLAGS
Remove proto frpm default port
Update TestLinkEnv for default port
Move iptable rules outside of create bridge

This allows the user to toggle enabling and
disabling intercontainer communication when
they run the daemon.
Add default entity and edge to graph on runtime load
Ensure child containers are started before parents
prevent default name to be deleted and return an error on invalid link
only pass stdin to hijack when needed
Merge pull request #2399 from dotcloud/fix_race_stdin_cli

Only pass stdin to hijack when needed