cleaner unicode/bytes handling in both pg server and python client api

- properties and nodes now use a bytea for their 'value' column
- aliases and names deal only with unicode objects on the python side
- alias.hash is now a bytea