iet-ou/CR4/api-url: Make Ajax API calls work when clean URLs are NOT enabled..

Relates to: Bug #4.

Hi Martin,

When you have a moment, would you like to review and pull these commits please. They are to increase the flexibility of the plugin under different WordPress plugins.

FYI, this relates to a new site for the LACE project:

* http://evidence.laceproject.eu

Many thanks,


Nick