added check to avoid duplicate components when a block next to the adapter already has an environment interface in addition to a peripheral interface
Merge branch 'master' of https://github.com/MightyPirates/OpenComponents
undid weird replace in railcraft api (wtf?) and some minor cleanup