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