Add --template command line option

The --template (-t) option allows the user to specify a template for their
input other than the single default template used for pages and posts. This is
useful for cases where many posts with similar contents such as package
release announcements.

Change-Id: Id0ab6dea70983cd8f22235858515db91119ca728