Fix statement preparation in batch (No longer use SqlQuery at batch creation)
Added info about which version of Play the templates are being published for

Also made the build script a little more robust