Bug 923574 - Ensure manifest size is valid

When installing an application with an invalid/undefined size, the new
WebIDL is not happy about this and the notification stays forever. We
fix this by checking that the size is effectively defined before setting
the max value of the notification.
Merge pull request #12916 from lissyx/bug923574

Bug 923574 - Ensure manifest size is valid r=etienne