adding task template
updating template
switched to DOM template rendering with a bit of refactoring
preventing default on sort handlers
redeclaring setPriority
delete and complete are fixed. priority still broken.