a) Simplified parsing of acute-options
b) Check acute-model is a string, not an object, when acute-options format is 'for value in array'
c) Updated to angular 1.2.1
d) jasmine spec changed to load template with an XMLHttpRequest
e) Included karma files
1. Move template into the same folder as the js and css files for simplicity
2. Fixed to work within an ng-switch block. This was failing because of the intermediate scope that ng-switch
creates. Now searches up the scope hierarchy if necessary to find the object specified by the acute-model
attribute.
3. Simplified the parsing of the acute-options attribute.
4. Check if pop-up is visible before handling keyboard events
5. Fixed error in IE due to use of char as a variable name, as this is a reserved word.