Fixes for aligning_guidelines and centering_guidelines

Hey kangax, sorry it's me again. :-)

I think both scripts works now as expected.

aligning_guidelines:
- Bugfix for rotated objects - rotated objects should be aligned correctly

centering_guidelines:
- Fix for objects with different origin (originX or originY != 'center')
- Fix for clear lines