introduce AutoBundlingBehavior
- this can hold anything configurable for autobundler
- eventually add some nicer API's around it
- #267