On the topology and the boundary of N–dimensional RCD(K,N) spaces