Fix f2py bugs appearing on Python 3.3

Some f2py files are missing some depend() directives, which causes f2py to produce invalid wrapper code on Python 3.3 (which has more random dict order).

This PR resolves the issues revealed by the test suite on Python 3.3.

Fixes Trac #1776, #1819