Added support for changing the object line width

This new setting in the preferences affects the line width used when
drawing rectangle, ellipse and polygon/polyline objects.

Setting the width to 0 will make the line 1 pixel wide regardless of the
zoom level.

Closes #502