Shorty: Fix database index definition issues under MS-Windows/mysql.
Shorty: Cleanup inclusion of partials in templates.
Shorty: Fix logging entry to use the correct app id.