Fixed from_function to correctly strip out the top level Module element. Maybe this should be moved to get_ast though. also added the dump function for ASTs into frontend from greentreesnakes.