various cleanups

should change almost no functionality (only the improved BCShortenedMac implementation) otherwise just fixes (rabinbenor) and cleanups (switch over to the flexiprovider copy within bouncy castle)