Added sentiment analysis function

Some problems with language detection. Seems like it has a hard time
deciding between English and the Nordic languages, and that it has a bug
on Danish and English.