Merge pull request #4 from baris/master

Extract notification logic from new push servlet and add better test coverage for the new function.
fix new push url in notifications