Add distro check functions for Ubuntu and Fedora

Add is_fedora & is_ubuntu functions, based on names of the checks used
in devstack itself.

Change-Id: I60763d5655344dd008f307b1caad8776277afb3b
Merge "Add distro check functions for Ubuntu and Fedora"