Scope the Windows include directory to only point to Source/Core/.

Also fix the Windows build with this change.
Fix the OSX build.

Turns out Dolphin uses some macros that clash on OSX. However thankfully, this include is only used in Frame.cpp.
Add an automated tool that does basic checking of includes sort order.