Fix missing invitation field
Merge branch 'master' of https://github.com/pouetnet/pouet2.0
Added some code to the end of script.js, and styles necessary for it to look good to style.css, for displaying a list of 'editor' buttons for bb-code to the right of the textarea on BBS and prod pages. This code is based on the 'Pouet bb-codeizer for winnars!' user script but refactored for slightly cleaner code, and formatting that better matches what already exists in script.js. It does not include the automatic 'by line' insertion code and other non-editor-essential code from the user script.
Updated the textarea-finding code to be more specific so it is more assured to only activate for the bbs new post and prod new post forms as not all textareas may be for things accepting bb-code. The code could do a dynamic check for the 'BB Code is allowed here' note, but that would be potentially fragile.
Updated the editor bar buttons for making links. Text that appear to be a URL when using the regular link button but are missing a protocol are 'upgraded' to a link-with-text so the fixed URL ('http://' + text) becomes the argument, and the originally written text is the text content. When using the link-with-text button, since the original text is only used for the URL argument it just prepends 'http://'. Otherwise it works the same as before.
Added support for the bbcode toolbar on the bbs thread listing page so it can be used when creating a new thread.
Fixes to the auto-URL detection to check only at the start of the input (ignoring leading spaces) so text with embedded URLs don't qualify. This prevents some ugly output and makes it a bit more friendly to doing things like selecting an [img] bb-code then clicking the 'link with text' button to wrap it with a link.
Updated the bb-code editor toolbar to sit below the textarea, next to the 'BB-Code is supported here' note. All items are text and appear as links. No icons. They still have the same auto-magic behavior as the user script it was based on. The e-mail item is also removed, for lack of support in Pouet (it just displays as [email]foobar[/email] regardless of the contents) and items can now be tagged with 'more' to indicate they should appear in the menu at the end.