Mantle.php should not have to be loaded before Flow.php

Move the class_exists() test into initFlowExtension().

Change-Id: I18965320d368cffe3f1b869abf8c6fc83b81284e