Added a check to prevent duplicate elements
Added a check to prevent duplicate elements

When saving an element first check that it is not 
duplicating another element's ID. Only add if the
is no colision on IDs

benpickles/js-model,benpickles/js-model