Fixed non generic array representation

https://github.com/kfgodel/diamond/issues/52
Added test cases for equality definition

https://github.com/kfgodel/diamond/issues/18
Moved equals to parent of variable an fixed types
https://github.com/kfgodel/diamond/issues/18