Clean the code, more error checking

Cleaner code
working bootloader check function
check for aboot partitions existence
check for presence of a proper argument
Merge pull request #2 from SimonSickle/patch-2

Clean the code, more error checking