More work on OS X support.

Continue work on #26 

- Fixes for build and packaging.
- Fix window titles
- Fix copying items between tabs
- Fix deleting items with Backspace
- Fix Shift-{Up,Down}
- Fix tests - they all pass now!