Replace .la extensions with .dylib in cca files.

Changed
-------

In cca files, after installing, change file name extensions of component
libraries from .la to .dylib.

Added
-----

Added a simple test to import a component.