u8800: Remove special keycharmap inclusion
sensors: Refactor the code

Remove unused definitions, clean and move code around to make it easier to read.
libril: Minor code sync