Implement lockunspent and listlockunspent.

Closes #50.

Closes #55.