Fixed check on Entity
Fixed Occi::Parser.locations

* flatten the array on return