Use variable encoding for ints, longs, and doubles in the specialized serializers.
Fixed the bug in variable encoding for longs.
Merge pull request #65 from amplab/varenc

Use variable encoding for ints, longs, and doubles in the specialized serializers.