Added new function setValue

This was I function that I needed in order to set the value after it had been initialized. Maybe it could be useful for others as well? I'm new to GitHub so I apologize if I'm doing this pull request wrong.. ;)

    $('.mentions').mentionsInput('setValue', 'Hey @[alex](user:1)');

I also fixed a bug in the init function that checks if it's an INPUT, TEXTAREA element