Fixed the library calls for the unit tests
Fixed a number of linter warnings and syntax errors in the test spec
Fixed linter warnings in raty.js
Fix spec for readonly and cancel buttons.

From what I can tell the intention has always been that the cancel button should be hidden when the raty is read-only.
Merge pull request #110 from Qazzian/fix-unit-tests

Fix unit tests