Fix popover animation on Mavericks

Thanks to @truppelito for the solution.
Update .gitignore
Cleanup directory structure, update build settings
Remove old files