Refactor BinaryValue vector
(cherry picked from commit b14ec99)
Add newSequence method
(cherry picked from commit b1121ef)
Add asSequence method
(cherry picked from commit 07d8366)
Limit min/max dates with year on 4 digits numbers
(cherry picked from commit 71629fb)
Fix newSequence with no valueType
(cherry picked from commit cc52b60)