Add dict:is_empty/1 and orddict:is_empty/1

dict:size/1 runs in constant time, but orddict:size/1 does not.  With
this change, the two modules stay API compatible and gain a
constant-time function for checking whether a dictionary is empty.