fixes #1814
Create LICENSE

If any contributors disagree with their code being released under the BSD license speak now.
fixes #1815
fixes #1812
fixes #1811
partial fix for #1263 (posts)
fixes #1791
fixes #1263 for comments
add tests for #1263
merge branch changeable-votes
js style
Always redirect pixiv sources to mode=medium instead of mode=manga

See http://danbooru.donmai.us/forum_topics/9127?page=34
fixes #1206
restrict ToS url redirect to local urls; see #1813
fix tests
fixes #1508
update tests for #1508
css style
fixes #1604
fixes #1618