Move server and api into server pkg

This allows users to easily embed the
skydns server in their applications or allow
easier mocking in their tests by running a server.

I don't think that this is a breaking change because you cannot import the main pkg in a go program.  The formatting change in the test file is from gofmt.