Fixed PackageConfig.cmake. Dependencies are searched by components and context is always restored to its previous state.
Merge pull request #208 from rdumusc/master

Fixed PackageConfig.cmake.