[Fix] var scope variable that can cause a conflict with similar named
cookie on some Railo versions
[Enh] Add trailing slash to api URLs
[Fix] When using serverkey.txt, the file was not being searched on the
right location. Fixed it.
[Fix] fixed reading of per-environment settings to avoid xpath issues
[Fix] do a more generic http status check to validate success

Jira api returns 201, but others might just return 200; so just check
first digit (2)
Issue 51 - add link to BugLogHQ issue in email sent from MailRelay rule.
Merge pull request #65 from jimpriest/issue-51

Issue 51 - add link to BugLogHQ issue in email sent from MailRelay rule.
Loop index needs to be var scoped to avoid possible concurrency problems.
Merge pull request #66 from mz83/var_scope

Loop index needs to be var scoped to avoid possible concurrency problems...
Use correct sql types for primary keys

PostgreSQL is strict about the sql type matching that of the columns
Changed queue array to a java arrayList. On CF9 arrays are not passed by reference, so queue object will not change (discard rules)
Show messages from ID doesnt work when message contains "[text]". For database statement opening [ needs to be [[].
After replace ' might turn into '', so prevent this with replace.

Now messages can be listed and deleted in groups
Deletion of many errors(>2100) causes problem. On MSSQL "IN statement" is limited, so make handy chunks and delete in blocks.
Here chunkSize is 1000. For deletion of 1100 entries deletion will be executed twice. One with 1000 elements, last with 100.
added var scope!
[FIX] minor fix to improve resolving entity IDs
(applicaition/host/severity)

Explicitly differentiates between ID initialization and when the entity
doesn't exist.
Merge branch 'master' of git://github.com/sebduggan/BugLogHQ into sebduggan-master
Fixed bug when entryID was not provided; added support for email
debugging; added toggle for including HTMLReport
Pass entryID to sendToEmail() to display bug report url
Use sendToEmail() instead of direct cfmail invocation to send emails
Use a more descriptive message for email alert and include bug URL