add require support for play2

Hi 

I have had support for require in play2