Fix issue #75. Notifications must be properly signed.

This means that every WA must register with a proper Public Key and sign
with their private key. We just reject notifications that are not signed
or bad signed.
Fix issue #80
Fix issue #74
Fix a bug when no message is sent in the notification and Pbk retrieval.

We treat it as a empty string and save it to the DDBB.
Also, if no PbK is found, we return the empty string to not crash.
Add tests for notifications \o/
Fix issue #68
Better messages in WS interface
Fix JSON… they are not really friendly
Fix json and better error
Fix E2E test with the public private key that is on the scripts directory
This message doesn't make sense
Fix E2E test, the problem was leading tabs in the PbK that make openssl
going crazy :(
New bridge. This allows to test a WS connection even with POST.

This opens a WS connection in point 1 with the given UA, and then in 2
reuses the connection for the given UA to register WA.
In 3, we send a notification, that is delivered to the bridge.
In 4, we ask for all the messages for the given UA.
Profit!!

1) {"data": {"uatoken":"a58cc9c83df20a91e7a1f8c6769648300bc1bfde5ff2acb375187fd85c433d9f3160e18e90faf3f951ff184295592515f5418f743707c207fba7c1ad878fad20a6312616f31e691b6f036326c46be5e3e0ab556d6539e7797f3dd10ea6a73b294a159c0f81a70e6d759cd4ac30888dd08c7d292f606c99799f22b26d35271170ba24fa8bae6587a4775a2a6ff219c85e781fad8c466978a2d16417a929f1f590"}, "messageType":"registerUA"}

2) {"data": {"watoken": "testApp", "pbkbase64":"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0NCk1JR2ZNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0R05BRENCaVFLQmdRREZXMTRTbml3Q2ZKUy8vb0t4U0hpbi91QzENClA2SUJIaUl2WXIyTW1oQlJjUnkwanVOSkg4T1ZndmlGS0VWM2loSGlUTFVTajk0bWdmbGo5Unh6US8wWFI4dHoNClB5d0tIeFNHdzRBbWY3aktGMVpzaENVZHlyT2k4Y0xmemR3SXoxblB2REY0d3diaTJmcXNlWDVZN1lsWXhmcEYNCmx4OEd2Ym5ZSkhPLzUwUUdrUUlEQVFBQg0KLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0t'"}, "uatoken": "a58cc9c83df20a91e7a1f8c6769648300bc1bfde5ff2acb375187fd85c433d9f3160e18e90faf3f951ff184295592515f5418f743707c207fba7c1ad878fad20a6312616f31e691b6f036326c46be5e3e0ab556d6539e7797f3dd10ea6a73b294a159c0f81a70e6d759cd4ac30888dd08c7d292f606c99799f22b26d35271170ba24fa8bae6587a4775a2a6ff219c85e781fad8c466978a2d16417a929f1f590", "messageType":"registerWA" }

3) ./send_notification.sh http://localhost:8081/notify/8762c2e06db3a05a3f46d9f3fd3127d14cb622732f28e4468775514746d26cfc Hola 691cb72015afdba8742349431500b497fe689523c7bd8b9ab9d905160efed20e8c70e7ba1aec112c494721f253b8874f90d611b8ebd78e5017aaf971f0f01503e2d3ba1949cd11c145f0537b7c80a7933368f405d12b723f8107c92af1e1d58a93c48a9af3f55ee519719b8ba1632e1fd12f9d3eb99846abb849793516bf1fa0

4) {"messageType": "getAllMessages", "uatoken": "a58cc9c83df20a91e7a1f8c6769648300bc1bfde5ff2acb375187fd85c433d9f3160e18e90faf3f951ff184295592515f5418f743707c207fba7c1ad878fad20a6312616f31e691b6f036326c46be5e3e0ab556d6539e7797f3dd10ea6a73b294a159c0f81a70e6d759cd4ac30888dd08c7d292f606c99799f22b26d35271170ba24fa8bae6587a4775a2a6ff219c85e781fad8c466978a2d16417a929f1f590"}
Fix JSON sent in WS end
Merge pull request #82 from willyaranda/issue75-80

[MERGEABLE] Various issues
Updated modules and add the actual "date" in timestamp
Issue 73 fixed
Fixed standard message check in udp server
Fixing messages and more readable
Do not create vars to delete just afterwards