Renamed some typedefs in MantisBufferRecord so that the typenames don't overlap with those used in Monarch (not that it was a problem, since they're within the MantisBufferRecord class). Added some casts, and changed the MantisTimeType in MantisBufferRecord to long long.