Code to calculate OAuth signatures. I hope that after wrapping my mind around all of this the rest is going to be easier..