Added basic version indication into project.

Current version is 1.0.
Added install rules.
Example removed from target 'all'.
Implemented source distribution package generation.

Made on base of CPack with default 'make dist' target.
Implemented proper library versioning.

Now major.minor.patch scheme is applied. Major number is also
considered as soversion.
Extracting current package version from latest git tag.

When no version control is provided (like in source distribution
packages) version will be taken from .version file (generated from git
repo when it is present).
CMake files cleanup.