Added options to middleware function, to allow the TAL application ID to be set
Merge pull request #6 from bbcrd/application_id_option

Added options to middleware function, to allow the TAL application ID to be set