refactor hard coded internal api references

remove hard coded reference to servicedisco, dashboard

instead check for "internal://" api type. also use regex approach when
parsing request method.

Jira-issue: http://jira.webinos.org/browse/WP-1044