Fix code=0.0 bug in Expressions

Need to check if the code is None, rather than just hope the user
provided something that doesn't evaluate to False in a boolean context.
Merge pull request #355 from firedrakeproject/expression_bug

* expression_bug:
  Fix code=0.0 bug in Expressions