WIP: Masked arrays

Before I start implementing all the operations for masked arrays, it'd be great if someone (e.g. @nouiz) could let me know whether this is correct i.e. whether the files are in the correct place, whether I derived from the correct classes, etc. This is my first attempt at a PR to Theano, so I'm not sure how some things should be done.
if not strict, x could be anything else. like a python list or a numpy ndarray. So x.mask don't always exist. In both of those case, I think the mask should be empty.