[HapProcessCeilometer] Place the code in the shared library.

The main purpose is to make unit test easy.