Allow building both shared and static libs in one make.

One can now set ${NAME}_LIBRARY_TYPE to a list containing both SHARED
and STATIC for common_library(), which will then build both. The first
entry corresponds to the library that will be associated with the
target ${NAME}; the second entry <TYPE> will be associated with the
target ${NAME}_<TYPE>.

Examples:

1. Original behaviour:

set(FOO_LIBRARY_TYPE SHARED)
common_library(foo)

Builds shared library libfoo.so only; target_link_libraries(target foo)
will link target with libfoo.so.

2. New behaviour:

set(FOO_LIBRARY_TYPE SHARED STATIC)
common_library(foo)

Builds both libfoo.so and libfoo.a; target_link_libraries(target foo)
will link against libfoo.so since 'SHARED' is first in the list. To link
explicitly against the static lib, use target_link_libraries(target foo_STATIC).
Merge pull request #163 from halfflat/feature/shared+staticlib

Allow building both shared and static libs in one make.
Added modules for finding Python libraries.

FindPythonModule.cmake offers the find_python_module() function,
which acts similarly to the simple invocation form of
find_package().

FindPythonCython and FindPythonNose are two specific cmake
scripts that use FindPythonModule to check for the presence
of their respetive packages.
Added modules for finding Python libraries.

FindPythonModule.cmake offers the find_python_module() function,
which acts similarly to the simple invocation form of
find_package().

FindPythonCython and FindPythonNose are two specific cmake
scripts that use FindPythonModule to check for the presence
of their respetive packages.
Merge branch 'feature/find+python+module' of github.com:halfflat/CMake into feature/find+python+module

Conflicts:
	FindPythonModule.cmake
Use posix-compliant __linux__ (__linux not defined on BG/Q)
Improve defines.h
Improve PackageConfig output
Merge branch 'master' of https://github.com/eile/CMake
Message cache bugs fixed, simpler API for FindPythonModule.cmake

Incorporating elle's recommendations, and fixing some bugs.
Naming convention of FindPythonFOO.cmake is that FOO is exactly
(i.e. with case, underscores) the name of the python module.
Merge pull request #165 from eile/master

Improve defines.h
Fix PackageConfig, now that OUTPUT_NAME is set in CommonLibrary
Merge branch 'master' of https://github.com/eile/CMake
Merge branch 'master' of https://github.com/Eyescale/CMake
Merge pull request #164 from halfflat/feature/find+python+module

Feature/find+python+module