Properly set IP address bitmask.

This avoids the "Changes in configuration applied" occurring on every
remodel because the incoming full subnet mask doesn't match the bitmask
stored in the database.
Merge pull request #85 from zenoss/feature/ZEN-8253

Please review branch feature/ZEN-8253