Complete XC8 transition

Changed all references to the htc header file.
Add configuration word
Configure internal RC oscillator