Moved common headers to their own directory.

1. Note that this commit breaks the VS projects.  Will update in a moment.