Include profile question in survey tree

This branch modifies the client survey session tree to include the profile question itself. It does that by including it with ``profile_index`` set to -1 and updating the code to extract the current profile to skip those entries.