Hammer Templates implementation.

* Methods for all hammer template actions;
* Three simple tests;

This handles Issue #102.