add missing CMake files (part of rpavlik/CmakeModules)

fixes issue number #6
Merge pull request #8 from carlsonp/Cmake-Missing-Files

add missing CMake files (part of rpavlik/CmakeModules)
First check for win32, then pthreads, since sometimes win32 has pthreads which confuses vpr
Spacing
CMake cleanup
Undo unneeded include
Remove a commented-out include
Only add the .rc files for MSVC.
Add a default windows api version
Fix the kunstoff swing laf build
More java build fixes
Fix build and install directories for sonix plugins.
More work on Java - almost got VRJConfig running
Bump CMake requirement to 2.8.5 in prep for GNUInstallDirs
Add comment so that java version check doesn't look redundant
Simplify/generalize code for finding library paths.

This is to accomodate multi-arch on Debian, as well as other situations
where the built-in computation of lib, lib32, or lib64 isn't what we want.
CMake-configurable headers now define libdir macros.
Start using GNUInstallDirs
Don't hardcode lib, share, include, bin in the CMake files.

This should complete "playing nicely in different distros" as well as multiarch.
Fix typo I introduced that fortunately only affected IRIX users.