Fixed release bug when released element is not valid

Also did some refactoring, added exists method to Android bootstrap to go round Android implicit wait. 
don't you think we should add a message to this error?