refactoring of Webform Goals for ticket 482

Replaced jsonp php file with a Drupal menu callback, also patched some minor bugs encountered during testing.