Removing the Identity file.

Using id over identity. If IdentityT becomes useful we can always bring
it to bilby as idT.
Updating to the new promise deferred structure.

Removed reject as it's no longer needed with the new promise deferred
layout.
Fixing Tuples

Map, toArray and equal have all been updated to make sure that we're
dealling with like for like types.