Limit theorems for non-Markovian and fractional processes