generate pin constraints from board and design .json files

Change-Id: I4a20d5121c2c6053470b61f85fbcac5c7f54f2e6
added some checks for missing arguments

Change-Id: Ic7ddd566fb2cf9ce669b1e41e9bdd023a5ebfd92