fix issue: querying 'type' in attributes (GET /node?query&type=xxx) doesn't return expected answer
Merge pull request #48 from wtangiit/master

fix issue: querying 'type' in attributes (GET /node?query&type=xxx) doesn't return expected answer
add lock for part.json file read/write
Merge branch 'master' of git://github.com/wtangiit/Shock