add feature to get the owner

Add feature able to get the owner of a lockfile.

@mlafeldt PTAL