Fix inactivity timeout check

nova-install would exit with exit status 0 when an install had become inactive.  Also, the check for network activity was not changing the value of last_network_activity after inactivity is detected.  As result the 4096 byte threshold would eventually be reached and the install would be once again considered active.  This pull request addresses both of these issues.