Changing detecting linux distribution type based on 'uname -a' to platform.linux_distribution() call
Changed all references of dist string from 'Ubuntu' to 'ubuntu' for uniformity with other distribution references.
Closes-Bug: #1390303

Change-Id: I1eb6ef868b8986a02e80ac89bf2e98b1d761d8db