Adding trim function check for IE8 support
fixing jshint issue
Merge pull request #63 from siddii/cworsley4-master

PR for merging https://github.com/cworsley4/angular-timer.git
v1.1.0
merge with master repo

with conflicts
merging / adding conflicted files