Add "AppName" arg to notifyService(). Fixed a couple of SQL script issues.

Re-added the ability to specify the application name when calling notifyService.

Fixed a field length inconsistency issue.

Fixed a SQL syntax issue causing migration script not to run. (Might want to get this change into master.)