Update pencil_brush.class.js

Simplified path creation process.
This removed calculation are handled by path class anyway.
Update pencil_brush.class.js

Remover UtilMin e UitlMax
Merge pull request #1742 from asturur/Fix-free-drawing-mode

Fix for free drwaing mode ( pencil ). Closes #1725