Add validation of  --options passed to commands

Validate arguments passed to command line. The execution stops when the argument is not part of known options or if it requires value, but the user had not passed one. The function will not validate the arguments if the command is _mocha (used for our tests). 

Add profile-dir to common known options.

http://teampulse.telerik.com/view#item/262916
http://teampulse.telerik.com/view#item/250186
Unfortunately we do not have access to _ as this function is called very early in the execution (when options.ts is required in the bootstrap).