FIX: remove_extension should work on parameterized extensions

From http://open.silverstripe.org/ticket/6079. Includes unit test.