Improved AgaviInflector performance, closes #823