A simple ping wrapper using a promise libary (Q).