Handle sequence=None, optic=None in Model (bugfix)

The Factory is passing sequence=None, model=None to the Model
constructor and users are likely to do so as well, as this is more
natural in python than passing an empty string. So, this should be
handled the same way.
Merge branch 'bugfix' into cpymad-1.0