add option to set window placement mode

Adapted from patch by Chad Glendenin available at:
http://chad.glendenin.com/metacity/patch.html