test_smartos: remove bad test case

This test case isn't really valid any more as we've changed
the way this works.
Ensure we strip the previous_iid file contents

The instance-id file contains the instance id
and a newline, to compare correctly make sure
we strip the newline before further usage.
Reduce OSds LOG levels when detecting and use HAVANA instead of latest
DataSourceOpenStack: debug, not warn on non-ideal version. do not use latest.

do not search 'latest', as that would be assuming the versioned
api would never break.

Also, instead of warning when we use something else, just debug.
ConfigDrive: trim trailing newlines in previous-instance-id

When cloud-init writes previous-instance-id, it does so with a
trailing '\n'.  This isn't ideal, as other readers also have to know
that this will have a trailing '\n' on it, but here we just trim that off.
netinfo.py: fix regression causing ubuntu to show 'addr:v.x.y.z'

after freebsd merge, ubuntu shows addr:v.x.y.z instead of v.x.y.z for the
ipv4 address.  This should fix that by just skipping the 'inet' (or inet6)
token if the next token starts with 'addr:'.
SmartOS: do not run on arm as dmidecode causes problems

See LP: #1243287 for more information, but the easiest thing to do
here is just not run smartos on arm.
pep8 and pylint
AltCloud: do not run dmidecode on arm32/arm64 because it leads to kvm crash

See LP1243287 for more information
AltCloud: to not run dmidecode on arm systems.

As with SmartOS change earlier, running dmidecode on arm will crash kvm.
So instead of doing that, just return UNKNOWN which will cause this
data source to not activate.
AltCloud: fix test failures related to new arm-specific behavior
test_altcloud: fix altcloud tests when running on arm

Similar test-hack as the SmartOS one.
Here we just pretend that we're running on x86_64 so as to avoid
re-writing the tests to expect otherwise on arm.