Model-free Motion Planning of Autonomous Agents for Complex Tasks in Partially Observable Environments