remove remains of BS2 compatibility shims

These were added to prevent less compilation errors as they no longer
exist in Bootsrap 3. Most have fairly simple translations. Some might need some further thought.