2 fixes in partition tables model & api

- added missing attributes to api#show output
- validation of operating system type