Reimplement dmocks registry (includes recording, replaying etc).

API remains intact, #5 was a false alarm.

Rewrite was made to simplify implementation and to extend capabilities of the library.