Adds implementation and template for end state
Removes var declaration
Fixes syntax errors
Removes template.js
Adds code implementation of end state, plus accompanying tests
Refactors end state test statment
Adds test for blank block
Adds todo for opts tests
Removes unnecessary var declaration in end state test
Omits unnecessary if block in end state template
Removes empty state test
Merge pull request #14 from praekelt/feature/end-state-implementation

Feature/end state implementation
Merge branch 'develop' of github.com:praekelt/go-proto-blockly into feature/freetext-state-implementation

Conflicts:
	templates.js