Preliminary implementation of persistence layer

Limitations:
* no error checking whatsoever
* does only support unix domain sockets
* only the auth commands (UREG, CHKPASS) are implemented
Also support INET/INET6 sockets
Support locator commands (login/logout/lookup)
Cabal file for persistence layer
Merge branch 'persistence'