BUG: Make f2py work with intent(in out).

Note that Fortran ignores spaces in this case, so that 'in out' is
treated as 'inout'.

Closes #479.
TST: Add basic test for compiling with intent(in out).

This checks that the compilation works and that the expected error
is raised when non-contiguous arrays are passed as intent(in out).