allow saving a page with empty text

by checking "if text is None" instead of "if not text"

http://lists.wikimedia.org/pipermail/pywikipedia-l/2014-May/008740.html

Change-Id: I26426394ae4844a029c5867446d481d53faae68d