Fixed up the serialize library
Fixed up the serialize library

Added more error handling to deserialize().  Added boolean support to
serialize().

TheRealMaxion/Automato-ATITD,wzydhek/Automato-ATITD,DashingStrike/Automato-ATITD,MHoroszowski/Automato-ATITD,DashingStrike/Automato-ATITD,TheRealMaxion/Automato-ATITD,wzydhek/Automato-ATITD,MHoroszowski/Automato-ATITD