implement a fallback of path.dirname
add HostType attribute, define Asset and Texture as FireClass
working on deserialization for FireClass
Merge branch 'master' of https://github.com/fireball-x/core