remove fetch_agent_configuration
Clean up after model changes

Gets rid of most uses of `Chassis.primary_mac_address` and
`MacAddressToChassis`. Also cleans up some test/flake8 things.
fix up tests