toggle class on paper when element is selected

so we can make the #trash button sticky
fix confine bug: rects stuck on top & left
remove jQuery!
clamp shape to bounds on confineDrag end

remove unnecessary data calls and introduce type-independent coordinate
getters