fix state changing events for synchronous requests
simplify usage of basis.net.request
fix file path resolving for links
add basis to namespace list
make basis.path methods compliance to node.js path module