first draft traits support for Deque
fixed typo
Deque test code - more progress
Deque<> support for TRAITS and improved regtests