added temporary api json file for ajax return_code
updated corewidget to work with new dipatcher->trigger structure
updated medicaldetailstab to work with new dipatcher->trigger structure
added getTabData method
updated to work with ajax requests
removed placeholders, added first and last trigger event