Add Google Test framework with sample CRC test

Use GTest framework from system package.
Sample test of calculating CRC checksum.
test: Add PNG unit test, refactor charts

Function charts_fill_crc() needed to be refactored.
After some analyzing during PNG test implementation it turned out
that it doesn't work properly. By the way the readability of it increased.