Centralize code in libpelican to interact with Pelican Blog instance