Added the "template" subcommand for creating area templates.

Implements #14.