Add util for opening centered window (bug 1101002)

This adds:

* A util for merging defaults similar to _.defaults (albeit only takes one defaults obj.  
* The basic centered window opening code
* Plus tests for all of the above.
again, for readable BDD naming it would more like ``it('gets called with properties', ...`` since the subject of each test is defined above by ``describe()``.