move object/deepEquals to lang/deepEquals (improving the behavior) and add array/equals

closes #192