Merge tag '1.0.0-pre1' into pkgin-1.0.0-pre1

Release
PKGsrc changes for 1.0.0pre1
Fixed some installer code to create the right directories
Merge tag '1.0.0-pre2' into pkgin-1.0.0-pre2

Release
updated SmartOS packages to 1.0.0pre2