Fix: Legacy support for chunks in pages plugin

I figure adding a simple check for the existence of the chunks database table fixes current issues experienced with fresh installs of 2.2, while maintaining legacy support for chunks for
older installs.

Fixes: https://github.com/pyrocms/pyrocms/issues/2211