Pkgin fixes 16

Some fixes for the SmartOS packaging and merge of the new config requriements in 0.16.0