Truncates message at 250 characters before HTML-escaping and linking
Fixes meatspaces/meatspace-chat-v2#45
Add autolink util function to link urls w/o protocol
make the links look linky when you hover over them
Merge pull request #49 from llkats/master

make the links look linky when you hover over them
Make chat limit 30.

This aligns it with the limit meatspace previously had. 15 seems to be
way too few with the larger videos, very hard to follow conversations.
Merge pull request #46 from jasonrhodes/protocol-links

Add autolink util function to link urls w/o protocol
Merge truncation with protocol-less linking changes.
Merge branch 'byronhulcher-linking'
Don't HTML escape entities identified by twitter-text-js, such as links
Merge pull request #48 from byronhulcher/html-escaped-links

Don't HTML escape entities identified by twitter-text-js, such as links
Dual encode for H264 and WebM, emit to respective socket io rooms

Both media formats are encoded and stored in the Publico instance.
At the time chats are pulled from Publico and emitted to the client
they exctract the media format and broadcast only that format to
a socket.io "room" by the same name as the format.

Clients now emit an event, "join", with the format they wish to
receive. The initial chat dump occurs on this join event instead
of connection. Room names at this time are "webm" and "mp4".
Merge pull request #51 from imakewebthings/mp4

Dual encode for H264 and WebM, emit to respective socket io rooms
Restrict visibility change play/pauses to in-view videos
Merge pull request #54 from imakewebthings/vischangefix

Restrict visibility change play/pauses to in-view videos
Implement video -> GIF conversion.

I will likely split vid2gif out into a library soon-ish so this can be
used on other meatspac-related sites, but this will do for now.
Merge pull request #53 from meatspaces/gifsave

Implement video -> GIF conversion.
Refresh waypoints on chat removal, address issue #52
Merge pull request #57 from imakewebthings/wpfreezefix

Refresh waypoints on chat removal
Rename convert2webm to convert2video.
Simplify image validation.