Add capacity-limited Deque

Small change to allow creation of deques that are of limited capacity. Append/Prepend functions return booleans indicating success.