Adjustments for click-to-add polygon

Summary:
 * Allow open polygons
 * better canvas click handling

Test Plan: used in perseus' interactive-graph click-to-polygon drawer

Reviewers: alex

Reviewed By: alex

CC: brianmerlob, alpert

Differential Revision: http://phabricator.khanacademy.org/D6577