fixes in Model class

- toArray() method from JSONObject interface modified
- static method _arrayFrom() fixed
Merge branch 'master' of https://github.com/bali182/PHPClasses