[Framework] Fixed two small memory leaks in the animation part of the library

Expanded PPBarcode protocol with debug data sending
[Demo] Fixed some memory leaks in view layer