Added check if promise ends with ';' + unit test
Merge pull request #511 from basvandervlies/promise_statement_check

Added check if promise ends with ';' + unit test