added Serializable interface to Pair class

In order to serialize an ArrayList of CommonTokens without errors
Merge pull request #741 from fabioramponi/master

added Serializable interface to Pair class