objects, extension/helper methods, tools and app server functions

- ADD: Error event to ITMObject interface
- ADD: RaiseEventHandler() methods to TMObject class
- ADD: ListProcesses app server function can use a filter of IDs now
- ADD: can exit ApServerProcessManager now
- ADD: Count() helper method
- ADD: Is(Not)Null() helper/extension methods
- ADD: Is(Not)Empty helper/extension methods
minor fixes
minor changes
app server, cleanups and minor fixes

- UPD: data models of application server
- ADD: remote communicator app server module uses a whitelist of
functions that can be executed by a user now
- CHG: code cleanups