MYLOC-65 refactored api constructor to apply default options. remove domain as an option
MYLOC-65 added test for protocol option
MYLOC-65 fixed existing tasks to use new parameter signature
MYLOC-65 added test for global query parameters
MYLOC-65 refactored module options to treat all arrays, strings and numbers as default query parameters if they are not real module options
MYLOC-65 changed getCookie method to use pal host
MYLOC-65 fixed inconsistent variable name for base uri
MYLOC-65 fixed inconsistent variable name for detail path
Merge pull request #9 from BBC-Location-Services/65_query_params_refactoring

merging  MYLOC-65 to master