UTs for adding Child Contracts, and testing exception for non-existent child
Fixing support for child contracts and setting parent id

Along with enahnced UTs.
Merge pull request #12 from noironetworks/sumit/pm

Sumit/pm