Add RepositoryDatabase.head property

Allows easy reading and writing of the object ID of the current commit.
Move key encapsulation to ObjectSerializer
Add commands secloud ls [path], secloud cat [path]

These commands do the same as their POSIX pendants.