Fix object onClick (previously failed change)

I'm unsure how but a previous change in this pull request never merged correctly (probably still due to my inexperience with github)  Regardless, this tiny patch fixes the bug
Merge pull request #1138 from GordoRank/Only-add-hidden-textarea-when-in-editing-mode

Fix object onClick (previously failed change)
Line coordinates are correct

fabric.Line._setWidthHeight was assigning left and top as if both
origins were 'center'.

It now uses private helper methods to calculate the distances from
left and top edges of canvas to the line origins.

The data for existing Line.toObject test is updated with origin-relative
coordinates.

Rendering of line inside a path-group was assuming a 'center' origin
for both coordinates.

Context translation done before rendering for lines inside path-groups
now uses private helper methods to calculate distances from the center
of path-group to center of line.
Fix group mocks in Line tests

Added missing semicolons in tests.

Refactored Line centerToCenterGetter to improve readability.
Removed Line._getCenterToCenter helpers

Pre-rendering context translation for lines in path-groups uses the
pre-existing getCenterPoint.

Removed tests for removed code.
Merge pull request #1143 from maciej-filip-sz/bug/Line-coords-rebased

Line object coordinates are correct
Build distribution
Options for node-canvas

Allowing to write pdf via node-canvas
```var canvas = fabric.createCanvasForNode(200, 200,'pdf');
..
fs.writeFile('out.pdf', canvas.nodeCanvas.toBuffer());```
Merge pull request #1151 from RG72/patch-1

Options for node-canvas
used new bower.json format
removed deprecated component.json
Bump jsdom to 0.10.x
added author and edited homepage
Merge pull request #1155 from shanawho/master

Used new bower.json format instead of deprecated component.json
Fix group origin after toJSON
Version 1.4.4
Make _calcBounds more flexible
Add homepage to package.json
Fix recent group addition
Make ElementsParser a constructor function and create instances in fabric.parseElements