Inital extra bed commit with back-compatibility

I need some advice on how to continue, mainly what I should be worried about when it comes to permissions, whether to bother with the backwards compatibility checks and if theres any side-effects.

I've been running this code on my server for a few weeks now and havn't run into any problems (except permissions) but I'm not a heavy multiverse user.

Sorry about travis.yml and the gitattributes but github for windows was complaining and I wasn't sure how to fix the line numbering anyway, I'll pull request another fixed version at some stage.