Allow Python long int where int is expected.

Also allow numpy.integer, in case things like np.int64(...) are used.
When (int, float) were expected, allow numpy.number instead of
numpy.integer, so things like numpy.float32(...) also work.
Define groups of Python numeric types in utils
Fix call to numpy in theano_linear.
Merge pull request #214 from goodfeli/master

Unified tutorials. Made dropout a Cost
Merge pull request #198 from lamblin/allow_long

Allow Python long int where int is expected.
Make horizontal reflection optional in WindowAndFlipC01B.
Merge pull request #216 from dwf/configurable_flip

Make horizontal reflection optional in WindowAndFlipC01B.
Merge branch 'master' of github.com:lisa-lab/pylearn2

Conflicts:
	pylearn2/models/mlp.py