[fixes #84 #83 #76 #51] handle subdirectories with improved loader and upgrade ember (which fixes related issues in ember)