Actually make the check work and beautify output

The check was not working on devices that already have patched bash.
Also adapted a Shell class for easier and cleaner execution of commands.
Thanks to https://github.com/jjNford/android-shell