Prevented NaN return from _getStrokeWidthOffset on entity without a lineWidth option.
Added tests for setting anchor on circle, group, line and rect entities.
Added Travis-CI support.