Modify TemplateParser to reduce parser scope.

Template file to parse regions outside [# and #] as FixedString
not LiteralString

FixedString to match ##nnn...  not ##n
upgrade to sbt 0.12.4
cross-build for sbt 0.13, fixes #8
Merge branch '0.5.1'