Created an install script for ninja

Fixed some bugs in vs.psm1 and added functionality to general.psm1