cleaned up dependencies for the TwigExtension, added cmf_next_link/cmf_prev_link

continuation of #24