Deprecate the replace method

- the replace method is deprecated and can be safely remove when the package move to the next major version (ie: go version 2.0.0) #17 
- Interval code improvements:
    - Encoding/decoding is cleanly decoupled from FlintstoneDB
    - Remove other useless methods
your already using this at the top so should be just SerializeFormatter