Fix jshint code issues
Update declarations for bem-bl and bem-core libraries. Add declaration for bem-history library