Updates translation template.

Updates build file to skip build and dist directories when updating POT
file.
Switches tasks to Rake.