Current voting functionality is now working via a directive

Moved the votes controller logic into the directive so that it can see its scope.

Use grunt to convert the template files into Angular modules so that they can
be used in tests without the need for HTTP calls.