Refactor processing into NMEASentence+AWSPacket

Separate processing code for parsing out the NMEA sentence
and the AWS-specific bits.

Also fixes properly escape database fields (no more sql injects!)
Merge branch 'topic/pkt_class'