Made Raspberry Pi detection more robust

Previous method returned hostname, which could easily be different from "raspberrypi" if changed by the user, suggested change relies on looking in /etc/os-release for ID=raspbian which is hostname agnostic.

This change has been tested on Raspbian and OSX Yosemite.