MethodFactory and UriFactory now uses zf2 abstract factory