make comparators Serializable
Merge pull request #5 from cwensel/serializable

make comparators Serializable