Bug 815110 - Change DOMWifiManager so it returns null instead of creating the object if the caller doesn't have the correct permission. r=mrbkap
Bug 845707 - Only filter file path that is a '~' or starts with '~/'. r=dougt