WIP
Merge commit '9e67a99c88352ec8b04e442a4382c81c1fc42600' into WIP

* commit '9e67a99c88352ec8b04e442a4382c81c1fc42600':
  Build fixes.
  Attempt to get resources loading on iOS 8.
  Formatting.
  Access modifiers.
  Work towards bringing XNA and PSM support back.
Updated gitignore.
Fixed crash on window close.
Bind vertex attribute improvements.