1. rename namespace player--> animation both cpp and c interface
2. added factory function to create animation object.
3. added render api to c interface.
Change-Id: I31c99a66678b20a0c743c564d399172f4182b0d1
Split common delcaration from lottieplayer.h
This common delcaration will be used in c interface header files.
Change-Id: Icb3e3f182b2f27fc2d7c9bed36ac29c45c813b66