Merge pull request #54 from seancolyer/master

Fix for dynamic packet header lengths, prevent jsxcompressor from endless loop in certain situations.
Initial work with refactor. Everything should still be functional, but more cleanup can still be done.
fix 2 minor typos
Merge pull request #58 from freewil/minor-typos

fix 2 minor typos
show sent message
do not send empty messages
Merge branch 'refactor'. Also marking resources/openpgp*.js files as
binary to make some merge/diffing easier.

Conflicts:
	resources/openpgp.js
	resources/openpgp.min.js