Create a missing partition table before creating a partition.
Remove negative logic for readability.
Merge pull request #36 from jrafanie/create_partition_table_if_missing

Create a missing partition table before creating a partition.