Added nosetest for rosdistro files

also fixed a bug in check scripts
Fix key order in rosdistro files