Refactor ads1231 lib to return explicit error codes, detect empty bottle and removed cup

Old: long ads1231_get_grams()
New: int ads1231_get_grams(int& grams)