testing: add karma-phantomjs-launcer to package.json
adjust test expectations
refactor timecode module

Function `extractTime` extracts the time from the raw string.
It is matched against a shortened and improved regular expression.
Method `parse` adapts the change.

NOTE:
* For compatibility reasons it returns false for values
  that could not be converted to a timestamp.
* timecode.parse() expects from and to timecodes to be separated
  by a dash '-', comma is not supported anymore