Add a new application object to list.
This function checks if the given application exists already in list. If not the working thread for this application will be started using the thread function ThreadRun. After that it will be entered in application list.
|ArgumentNullException||Thrown if no application was given.|
|ArgumentException||Given application has no valid name.|