Browser title not correct for custom modules

In stock modules the title shows the object you are watching, not in custom modules. This fixes this.
Reference: http://forums.sugarcrm.com/f3/module-name-record-name-browser-title-87820/