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.